Skip to main content

Localization

Language Header

You can include a custom header Language when making requests to the API.
This header determines both:

  1. Display language – The language used in the API response (product name, page content, etc.).
  2. Language restrictions – Any content limitations or filtering based on the chosen language.

Example values

  • SV – Swedish
  • NO – Norwegian
  • FI – Finnish
  • DK – Danish
  • EN – English

If no Language header is provided, the API will use the default language.

Note: For the moment, only one language can be requested at a time.
Support for retrieving multiple translations may be added in the future.

Currency Header

You can include a custom header Currency when making requests to the API.
This header determines both:

  1. Display currency – The currency used for prices in the API response.
  2. Currency restrictions – Any content limitations or filtering based on the chosen currency.

Currency codes can be found in Webbadmin under:
/webbadmin?funk=inst_tabeller_valutor_lista

Example values

  • SEK – Swedish Krona
  • NOK – Norwegian Krone
  • EUR – Euro

If no Currency header is provided, the API will use the default currency.

Domain Header

You can include a custom header Domain when making requests to the API.
This header determines:

  1. Domain restrictions – Any content limitations or filtering based on the chosen domain.

The value must be the ID of the domain, not the domain name itself.

Domain IDs can be found in Webbadmin under:
/webbadmin?funk=inst_tabeller_domaner_lista

Example values

  • 1
  • 2

If no Domain header is provided, the API will use the default domain.